package ooday06;

/** String的演示 */
public class StringDemo {
    public static void main(String[] args) {

        String s = new String("hello");
        String s1 = "hello";
        System.out.println(s==s1);

        System.out.println(s.equals(s1));
    }
}
